package cn.youframe.frame.service;

import cn.youframe.frame.beans.Menber;
import cn.youframe.frame.beans.YfDeptVO;
import cn.youframe.frame.beans.YfRoleVO;

import java.util.List;

/**
 * User: Administrator
 * DateTime: 12-7-22 下午12:53
 * Desc:
 */
public interface LoginService {
    public Menber login(String account);
    public YfDeptVO getDept(String did);
    public List<YfRoleVO> getRoles(String uid);
    public int addOnlineUser(Menber menber);
    public int delOnlineUser(String account);
    public String userLogin(Menber menber);
    public int userLogout(String key);
}
